package xmarti.vacaxm.beans.sequence;
public class StateDefault implements java.io.Serializable {    
    
    private int id;
    
    private int order;
    private SequenceType sequenceType;
    private State state;
    public StateDefault(){

    }
    public StateDefault(int id,int order,State state,SequenceType sequenceType) {
        this.state=state;
        this.order=order;
        this.sequenceType= sequenceType; 
        this.id= id;
    }   
    public State getState() {
        return state;
    }
    public void setState(State state) {
        this.state = state;
    }    
    public int getId() {
        return this.id;
    }
    public void setId(int id){
        this.id=id; 
    }
    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public SequenceType getSequenceType() {
        return sequenceType;
    }

    public void setSequenceType(SequenceType sequenceType) {
        this.sequenceType = sequenceType;
    }
    
    @Override
    public String toString(){
        return this.order+" - "+this.state.getName();
    }

   	
	
	
}
